package com.fan.admin.service;

import com.fan.commons.pojo.Course;
import com.fan.commons.pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author fan
 * @date 2021/2/27
 */
public interface StudentService {

	int insertStudent(Student student);

	Student queryStudentById(Integer id);

	Student queryStudentByStudentId(String studentId);

	List<Student> queryStudent(Student student);

	List<Course> studentScore(String studentId);

	int updateStudent(Student student);

	int deleteStudent(@Param("id") Integer id);

	String getStudentId(@Param(value = "claId") String claId);
}
